package com.tyk.bookstore.front.system.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Schema(name = "SystemSetting", description = "系统信息")
@TableName("system_setting")
@Data
public class SystemSettingDo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1;

    @Schema(description = "ID")
    @TableId(value = "id")
    private Long id;

    @Schema(description = "变量名")
    @TableField("`name`")
    private String name;

    @Schema(description = "变量值")
    @TableField("value")
    private String value;
}
